dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7d37a
)
rm only core usage of in_string(), I think it's silly
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 1 Jun 2011 00:15:02 +0000
(
00:15
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 1 Jun 2011 00:15:02 +0000
(
00:15
+0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
a7468e9
..
073dd99
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-699,7
+699,7
@@
class Article {
if ( $text === false ) {
$text = $this->getRawText();
}
- return
in_string( ',', $text )
;
+ return
strpos( $text, ',' ) !== false
;
case 'link':
if ( $editInfo ) {
// ParserOutput::getLinks() is a 2D array of page links, so